﻿<?php
// 搴旂敤鍏ュ彛鏂囦欢
header("Content-type: text/html; charset=utf-8");

// 妫€娴婸HP鐜
if(version_compare(PHP_VERSION,'5.3.0','<'))  die('require PHP > 5.3.0 !');

// 寮€鍚皟璇曟ā寮?寤鸿寮€鍙戦樁娈靛紑鍚?閮ㄧ讲闃舵娉ㄩ噴鎴栬€呰涓篺alse

define('APP_DEBUG',true);
$host = $_SERVER['HTTP_HOST'];
if($host == 'mp.pinoocle.com') define('APP_STATUS','pinoocle');
else define('APP_STATUS','weimarket');
//璁剧疆椤圭洰鐩綍
define('__ROOT__',str_replace("\\", "/", dirname(__FILE__)).'/');

//璁剧疆缂撳瓨鐩綍锛屽繀椤诲彲鍐?define ('RUNTIME_PATH', './Runtime/');
// 瀹氫箟搴旂敤鐩綍
define('APP_PATH','./Application/');
define('BUILD_DIR_SECURE', false);

// 寮曞叆ThinkPHP鍏ュ彛鏂囦欢
require __ROOT__.'Core/ThinkPHP.php';